Skip to content

Benchmarks#448

Merged
p1c2u merged 1 commit intomasterfrom
feature/benchmarks
Feb 14, 2026
Merged

Benchmarks#448
p1c2u merged 1 commit intomasterfrom
feature/benchmarks

Conversation

@p1c2u
Copy link
Collaborator

@p1c2u p1c2u commented Feb 14, 2026

This pull request introduces a new benchmarking suite for testing the performance of the OpenAPI spec validator, along with a sample OpenAPI 3.0 specification. The benchmarking script allows for both custom and synthetic spec testing, outputs results in JSON, and supports profiling. The Petstore example spec provides a realistic test case for the validator.

Benchmarking infrastructure:

  • Added a new benchmarking script runner.py in tests/bench for measuring validator performance, including support for profiling, synthetic spec generation, and JSON output.

Sample specifications:

  • Added a realistic OpenAPI 3.0 spec file petstore-v3.yaml to tests/bench/specs for use in benchmarks and validation tests.

@p1c2u p1c2u merged commit c14fff0 into master Feb 14, 2026
22 checks passed
@p1c2u p1c2u deleted the feature/benchmarks branch February 14, 2026 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments